<template>
  <div class="app-container calendar-list-container">
    <h3 >{{Title}}</h3>
    <p >系统版本：6.8.0.1</p>
    <p >上次登录时间：2020/7/26 9:07:48</p>
    <p >上次登录地址：27.192.246.135</p>
  </div>
</template>

<script>

  import { getNoticeList,sendNotice,addNotice,delNotice } from "@/api/notice";
  import { parseTime } from "@/utils";
  import { hasPermission } from '@/utils/auth' // 验权

  export default {
    name: "noticeTable",
    data() {
      return {
        Title: "尊敬的用户 test01 【客户体验】，欢迎登录系统管理后台！",
        noticeList: null,
        listLoading: false,
        addFormVisible:false,
        addLoading: false
      };
    },
    methods: {
      hasPermission : hasPermission,
      getNoticeList() {
        this.listLoading = true;
        getNoticeList()
          .then(res => {
            this.noticeList = res.map.list;
            this.listLoading = false;
          })
          .catch(() => {
            this.listLoading = false;
          });
      }
    }
  };
</script>
